//package com.star.es.excel;
//
//import java.io.FileOutputStream;
//import java.io.IOException;
//import java.util.ArrayList;
//import java.util.List;
//
//import org.apache.poi.ss.usermodel.Workbook;
//import org.jeecgframework.poi.excel.ExcelExportUtil;
//import org.jeecgframework.poi.excel.entity.ExportParams;
//
//
//public class export {
//	
//	public static void main(String[] args) throws IOException {
//		List<User> list=new ArrayList<>();
//		User user=new User("1001", "1");
//		User user2=new User("1002", "2");
//		list.add(user);list.add(user2);
//		Workbook workbook=ExcelExportUtil.exportExcel(new ExportParams(), User.class, list);
//		FileOutputStream fos = new FileOutputStream("D:/data/test1.xls");
//        workbook.write(fos);
//        fos.close();
//	}
//
//}
